package org.jaychan.live.user.utils;

public class TagInfoUtils {

    /**
     * 判断是否存在某个标签
     * @param tagInfo
     * @param matchTag
     * @return
     */
    public static boolean isContain(Long tagInfo,Long matchTag){
        return tagInfo != null && matchTag != null && matchTag > 0 && (tagInfo & matchTag) == matchTag;
    }




}
